package com.storm.device.camera;

/**
 * this class used to control the camera
 * @author liuquan
 * @date 2013-11-26
 *
 */
public class Camera {
	
	/**
	 * open the connect
	 * @return
	 */
	public boolean open(){
		return true;
	}
	/** 
	 * check if the Camera has been opened
	 * @return
	 */
	public boolean isOpen(){
		return true;
	}
	
	/**
	 * start acquire a sequence images and save it as a quene in memory
	 * @return
	 */
	public boolean startContinuousSequenceAcquisition(){
		return false;
	}
	/**
	 * get the first image from the sequence
	 * @return
	 */
	public Object popNextImage(){
		return false;
	}
	/**
	 * stop the sequence acquisition
	 * @return
	 */
	public boolean stopSequenceAcquisition(){
		return false;
	}
	/**
	 * snap one image from camera and save it in memory
	 * @return
	 */
	public boolean snapImage(){
		return false;
	}
	/**
	 * get the image that snapped before
	 * @return
	 */
	public Object getImage(){
		return false;
	}
	
	/**
	 * read the camera status
	 * @return
	 */
	public String readStatus(){
		return null;
	}
	
	public boolean close(){
		return true;
	}
}
